Skip to main content

by

Type

keyword

Summary

Used with the divide and multiply commands to specify a number; used with the rotate command to specify how far to rotate; used with the sort and sort container commands to specify the sort key; used with the combine and split commands to specify the delimiters for transforming a variable between an array and a string.

Syntax

by

Description

Use the by keyword to divide or multiply a container by a number or to specify how to sort.

When used with the combine or split command, the by keyword is a synonym for the using keyword.

Examples

divide myVariable by 2
rotate image "Calliope" by -45
sort lines of field "Data" by item 2 of each

command: sort, combine, split, rotate, sort container, multiply, divide

glossary: delimiter, variable, container, keyword, array, command, sort key

keyword: string, using

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?